package com.zhang;


import org.junit.jupiter.api.Test;

public class Test1 {


    @Test
    public void test1() {

        User user1 = new User();
        user1.setUserName("zf");
        user1.setPassword("123");
        user1.setFather("bb");


        User user2 = new User();
        user2.setUserName("zf");
        user2.setPassword("123");
        user2.setFather("mm");


        boolean equals = user1.equals(user2);
        System.out.println(equals);


    }

}
